package com.rran.study.designpattern.behavioral.observer.enums;

import lombok.Getter;

@Getter
public enum ListenerEnums {
    GENERATE_ORDER(AppEventEnums.ORDER, "com.rran.study.designpattern.behavioral.observer.listener.app.AppGenerateOrdersListener"),
    PAY(AppEventEnums.ORDER, "com.rran.study.designpattern.behavioral.observer.listener.app.AppPayListener"),
    SEND_MESSAGE(AppEventEnums.ORDER, "com.rran.study.designpattern.behavioral.observer.listener.app.AppSendMsgListener"),
    SCOLD_SMOKE(AppEventEnums.SMOKE, "com.rran.study.designpattern.behavioral.observer.listener.app.AppFatherListener"),
    SHARE_SMOKE(AppEventEnums.SMOKE, "com.rran.study.designpattern.behavioral.observer.listener.app.AppFriendListener"),
    ;
    /**
     * 监听器类型
     */
    AppEventEnums event;

    /**
     * 类路径
     */
    String classPath;

    ListenerEnums(AppEventEnums event, String classPath) {
        this.event = event;
        this.classPath = classPath;
    }
}
